package com.guigu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("procure")
public class Procure {
//    @TableId(type = IdType.AUTO)
//    private int id;
//    private String procureNumber;
//    private int vendorId;
//    private String procureTime;
//    private String procureRemark;
//    private int  procureCount;
//    private int  procurePrice;
//    private int purchasers;
//    private String checkTag;
@TableId(type = IdType.AUTO)
private Integer id;
    private String procureNumber;
    private Integer vendorId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date procureTime;
    private String procureRemark;
    private Integer procureCount;
    private BigDecimal procurePrice;
    private Integer purchasers;
    private String checkTag;
    private Integer procureTag ;
    private Date procureConfirmTime;
    private String gatherTag;
    private String checker;
    private String checkTime;
}
